package com.example.dbdesign.service;

import com.example.dbdesign.pojo.entity.Result;

import java.util.List;
import java.util.Map;

public interface ResultService {
    Result add(Result result);
    Result selectByRnoAndType(String rno, int type);
    Result update(Result result);
    Boolean deleteById(int id);
    Result review(Result result);
    Result selectById(int id);
    List<Result> selectByPage(Map<String, Object> params);
    int calSum();
    List<Result> selectByTypeAndDate(int type, int date);
    List<Result> selectByDate(int date);
    List<Result> selectByType(int type);
    List<Result> selectByTeacher();
    List<Result> selectByStu();
}
